palindrome string in JavaScript

welcome to shbcf.ru